package it.massetti.scoponescientifico.game;

public enum Number {
	ACE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, JACK, QUEEN, KING;

	int getValue () {
		switch (this) {
		case ACE:
			return 1;
		case TWO:
			return 2;
		case THREE:
			return 3;
		case FOUR:
			return 4;
		case FIVE:
			return 5;
		case SIX:
			return 6;
		case SEVEN:
			return 7;
		case JACK:
			return 8;
		case QUEEN:
			return 9;
		case KING:
			return 10;
		}
		return 0;		
	}
	
}
